app.config(function($stateProvider, $urlRouterProvider) {
  $stateProvider
  /*----------------合同提醒----------------------*/
  .state('contract', {
    url: '/contracts/notify',
    templateUrl: 'app/partials/contract/notify.html',
    controller: function($scope,Organization,$location, EmployeeContract) {
      $scope.list_will_valid_contracts = EmployeeContract.list_will_valid_contracts();
      $scope.list_valid_contracts      = EmployeeContract.list_valid_contracts();
    }
  })
})